<?php /*a:2:{s:69:"D:\laragon\www\ssbeautiful\application\manage\view\index_welcome.html";i:1601365410;s:60:"D:\laragon\www\ssbeautiful\application\manage\view\base.html";i:1596192950;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
	<meta name="renderer" content="webkit">
<title>后台管理系统</title>
<link rel="stylesheet" href="/static/public/awesome/css/font-awesome.min.css" />

<link rel="stylesheet" href="/static/public/layui/css/layui.css" />

<link rel="stylesheet" href="/static/public/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="/static/manage/css/style.css" />

	<link rel="stylesheet" href="/static/public/dist/zoomify.min.css">
	
<script src="/static/public/kindeditor/kindeditor-all.js"></script>
<script src="/static/public/kindeditor/lang/zh_CN.js"></script>
<script src="/static/public/ueditor/ueditor.config.js?t=<?php echo time();?>"></script>
<script src="/static/public/ueditor/ueditor.all.min.js"></script>
<script src="/static/public/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<?php if($is_auth): ?>

<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <span><i class="icon icon-home"></i>首页</span>
            <span class="icon-angle-right"></span>
            <span>我的桌面</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">
            <div class="m-header">
                <h1>欢迎使用 <?php echo htmlentities($site_info['site_name']); ?> 管理系统</h1>
                <p>超级管理员 <?php echo session('username', '', session_prefix()); ?>，登录次数：<?php echo session('login_nums', '', session_prefix()); ?></p>
                <p>上次登录 IP：<?php echo session('last_login_ip', '', session_prefix()); ?> 上次登录时间：<?php echo session('last_login_time', '', session_prefix()); ?></p>
            </div>
            <!-- <div class="m-tab-tit mt-20 clearfix">
                <ul>
                    <li class="item-act"><a href="javascript:;">cms概况</a></li>
                    <li><a href="javascript:;">商城概况</a></li>
                </ul>
            </div> -->
            <div class="m-tab-con">

                <table class="m-table mt-20">
                    <thead>
                        <tr>
                            <th colspan="4">服务器信息</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td width="15%">服务器软件</td>
                            <td width="35%"><?php echo htmlentities($statics['site']['software']); ?></td>
                            <td width="15%">操作系统</td>
                            <td width="35%"><?php echo htmlentities($statics['site']['os']); ?></td>
                        </tr>
                        <tr>
                            <td>PHP版本</td>
                            <td><?php echo htmlentities($statics['site']['php_version']); ?></td>
                            <td>MYSQL版本</td>
                            <td><?php echo htmlentities($statics['site']['mysql_version']); ?></td>
                        </tr>
                        <tr>
                            <td>使用域名</td>
                            <td><?php echo htmlentities($statics['site']['domain']); ?></td>
                            <td>程序编码</td>
                            <td><?php echo htmlentities($statics['site']['charset']); ?></td>
                        </tr>
                    </tbody>
                </table>
                <table class="m-table mt-20">
                    <thead>
                        <tr>
                            <th colspan="2">其他统计</th>
                        </tr>
                    </thead>
                    <tbody>

                        <tr>
                            <td>管理员</td>
                            <td>管理员总数： <?php echo htmlentities($statics['others']['admin_nums']); ?></td>
                        </tr>

                    </tbody>
                </table>
            </div>
            <div class="m-tab-con dn">
                123
            </div>
        </div>
    </div>
</div>

<?php endif; ?>
<input type="hidden" name="action_uri" value="<?php echo url('action'); ?>" />

<input type="hidden" name="redirect_uri" value="<?php echo url('index'); ?>" />

<input type="hidden" name="region_uri" value="/manage/regions/regions" />
<script src="/static/public/js/jquery-1.10.2.js"></script>
<script src="/static/public/js/maniac.ui.js"></script>
<script src="/static/public/layui/layui.js" charset="utf-8"></script>
<script src="/static/public/js/aes.js"></script>
<script src="/static/public/js/mode-ecb-min.js"></script>
<script src="/static/public/js/utils.js"></script>
<script src="/static/public/js/dialog.js"></script>
<script src="/static/manage/js/form.js"></script>
<script src="/static/manage/js/js.js"></script>
<script src="/static/public/js/app.js"></script>
<script src="/static/public/js/encrypt.js"></script>
<script src="/static/public/dist/zoomify.min.js"></script>
<script type="text/javascript">
    $('.fdzoom').zoomify();
</script>

<script>
var aesKey = '<?php echo htmlentities($encrypt_key); ?>';
    $(function(){
        layui.use('layer', function(){
            var user_exists = parseInt('<?php echo !empty($user_exists) ? 1  :  0; ?>');
            var user_forbidden = parseInt('<?php echo !empty($user_forbidden) ? 1  :  0; ?>');
            var quit_force = parseInt('<?php echo !empty($quit_force) ? 1  :  0; ?>');
            var is_auth    = parseInt('<?php echo !empty($is_auth) ? 1  :  0; ?>');
            
            if (user_exists) {
                dialog.error('您所登录的用户已被删除', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }
            
            if (user_forbidden) {
                dialog.error('您的账户已被禁用', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }

            if (quit_force) {
                dialog.error('同一账户同一时间只能一人在线', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }
            
            if (!is_auth) {
                dialog.error('您没有权限执行此操作', function(){
                    window.location.href = history.go(-1);
                    return false;
                });
            }
        });
    })
</script>

</body>
</html>